﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApp1.IICMoudle
{
    public class UpgradeResult
    {
        public static class StatusCode
        {

            // 文件路径错误
            public static readonly string ERRO_FILE_PATH = "E01,File Path Error";

            // 文件类型出错
            public static readonly string ERROR_FILE_TYPE = "E02,File Type Error";

            // 升级失败
            public static readonly string ERROR_UPGRADE_FAIL = "E03,FW Upgrade Error";

            // 升级成功
            public static readonly string SUCCESS = "OK,FW Upgrade Success";
        }

        public bool result
        {
            set;
            get;
        }

        public string returnCode
        {
            set;
            get;
        }

    }
}
